<html>
<head>
	<meta charset="utf-8">
	<title>Validate-Chain</title>
	<script src="../validate-chain-browser.js"></script>
</head>
<body>
	<h1>test only (cmd+alt+j)</h1>
	<script>
	var mock = {
		name: "eisneim",
		age: 24,
		email: "eisneim1@gmail.com",
		emailInValid: "sdfjk@gmail",
		site: "http://glexe.com",
		siteInvalid: "glexe.com",
		phone: "13482783201",
		phoneInvalid: "1348278320",

	}

	var vc = new VC( mock );
	vc.check("age").between(10,18).max(18).in([21,22,23]);
	vc.check("null").optional().between(10,18).max(18).in([21,22,23]);
	console.log( vc.errors )

	</script>
</body>
</html>